package rs.dalao.syc.index.dao.persist.repository;

import org.springframework.transaction.annotation.Transactional;
import rs.dalao.syc.index.pojo.vo.HotDetailVO;
import rs.dalao.syc.index.pojo.vo.VacDetailsVO;
import rs.dalao.syc.index.pojo.vo.VaccineListVO;

import java.util.List;


public interface IVaccineRepository {

    /**
     * 根据类型查找集合
     *
     * @param type 类型数据
     * @return 受影响的行数
     */
    List<VaccineListVO> getVaccineList(Integer type);

    List<VacDetailsVO> getVaccineDetail(Long articleId);

    /**找热门文章*/
    List<HotDetailVO> selectVaccineHotDetail();
}
